<extend name="Public/base" />
<block name="content">
<div id="content">
	<div id="content-header">
		<div id="breadcrumb">
			<a href="{:U('Index/index')}" title="首页" class="tip-bottom"><i class="icon-home"></i> 首页</a> 
			<a href="#" class="current">{$meta_title}</a>
		</div>
	</div>
	<div class="container-fluid">
		<br/>
		<div class="search-form fl cf">
			<div class="sleft">
				<span class="control-group">
					<select class="form-control" style="width: 200px;" name="activity_id" id="activity_id" autocomplete="off">
						<option value="请选择活动">请选择活动</option>
						<volist name="activity_list" id="vo">
							<option value="{$vo.activity_id}">{$vo.activity_name|strip_tags}</option>
						</volist>
					</select>
				</span>
				<button class="btn btn-info" id="search_button" url="{:U('ServiceStatistics/bus')}"><i class="icon-search icon-white"></i></button>
			</div>
		</div>
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-content ">
					<notempty name="_data">
						<table class="table table-bordered table-striped">
							<thead>
								<tr>
									<th>班车名称</th>
									<th>班车地点</th>
									<volist name="_time" id="vo">
									<th>{:time_format(getDepartureName($vo),'Y-m-d')}</th>
									</volist>
								</tr>
							</thead>
							<tbody>
								<volist name="_data" id="vo">
									<tr>
										<td class="taskStatus">{$vo.bus_point_name}</td>
										<td class="taskStatus">{$vo.bus_point_addres}</td>
										<volist name="_time" id="voo">
											<td class="taskStatus">{:getBusCount($vo,$voo)}</if></td>
										</volist>
									</tr>
								</volist>
							</tbody>
						</table>
					<else/>
						<center>暂无数据</center>
					</notempty>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function (){
	set_value("activity_id","{:I('activity_id','')}");
});
//导航高亮
highlight_subnav("{:U('ServiceStatistics/bus')}");
</script>
</block>